package com.itheima.principles.LiskovSubstitution.before;

/*
 *@ProjectName:design_patterns
 *@Description:长方形类
 *@Time: 2021/10/11 8:37
 *@Author: XGQ
 */
public class Rectangle {
    
    private double length;
    private double width;
    
    public double getLength() {
        return length;
    }
    
    public void setLength(double length) {
        this.length = length;
    }
    
    public double getWidth() {
        return width;
    }
    
    public void setWidth(double width) {
        this.width = width;
    }
}